package com.guangfeng.yql.security.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
@Data
@Configuration
@ConfigurationProperties("token")
public class TokenConfig {
    private Long defaultTtl = 1000 * 60 * 60 * 24 * 15L;

    private Long ttl;

    private String key;
}
